<?php

defined('NUO_API') or die('access denied!');

require_once 'server.php';
require_once 'constant.php';

require_once ROOT_DIR . '/application/library/functions/general.func.php';

require_once ROOT_DIR . '/application/library/nuo.class.php';
require_once ROOT_DIR . '/application/library/database.class.php';
require_once ROOT_DIR . '/application/library/intl.class.php';

/*
 // load core class
 require_once CLASS_DIR . 'nuo/profiler.class.php';

 require_once CLASS_DIR . 'nuo/user/interface.class.php';
 require_once CLASS_DIR . 'nuo/view.class.php';
 require_once CLASS_DIR . 'nuo/controller.class.php';

 require_once CLASS_DIR . 'nuo/request/abstract.class.php';
 require_once CLASS_DIR . 'nuo/request/http.class.php';
 require_once CLASS_DIR . 'nuo/request/cli.class.php';
 require_once CLASS_DIR . 'nuo/response.class.php';
 require_once CLASS_DIR . 'nuo/messenger.class.php';

 // load cache
 require_once CLASS_DIR . 'nuo/cache/abstract.class.php';
 require_once CLASS_DIR . 'nuo/cache/file.class.php';
 require_once CLASS_DIR . 'nuo/cache/apc.class.php';

 // load log
 require_once CLASS_DIR . 'nuo/log/abstract.class.php';
 require_once CLASS_DIR . 'nuo/log/file.class.php';

 require_once CLASS_DIR . 'nuo/session.class.php';
 require_once CLASS_DIR . 'nuo/session/abstract.class.php';
 require_once CLASS_DIR . 'nuo/session/file.class.php';
 require_once CLASS_DIR . 'nuo/session/database.class.php';

 // load route
 require_once CLASS_DIR . 'nuo/router.class.php';
 require_once CLASS_DIR . 'nuo/route/abstract.class.php';
 require_once CLASS_DIR . 'nuo/route/default.class.php';
 require_once CLASS_DIR . 'nuo/route/alias.class.php';

 // database
 require_once CLASS_DIR . 'database.class.php';
 require_once CLASS_DIR . 'database/adapter.class.php';
 require_once CLASS_DIR . 'database/expr.class.php';
 require_once CLASS_DIR . 'database/select.class.php';
 require_once CLASS_DIR . 'database/table.class.php';
 require_once CLASS_DIR . 'database/table/row.class.php';
 require_once CLASS_DIR . 'database/table/rowset.class.php';
 */
set_include_path(ROOT_DIR . '/application/library');
